extends Node
var level=1
var score=0
var reset=load("res://script/rest.gd").new()
func _ready():
	#reset=load("res://script/rest.gd").new()
	pass
func add_score():
	score+=50
func do_fuhuo():
	if OS.get_name()=="HTML5":
#		var result=JavaScript.eval()
		var code=load("res://test/js.gd").new().code
		var result=JavaScript.eval(code)
		if result:
			get_tree().reload_current_scene()
		else:
			print_debug("Error!")
	if OS.get_name()=="Android":
		
		pass
	pass
